package main

import (
	"entry_task/backend/src/middle"
	"entry_task/entry_web/src/router"
	"github.com/gin-gonic/gin"
)

func main() {
	r := gin.Default()
	r.Use(middle.Cors)
	r.Use(middle.AuthorityFilter)
	router.Router(r)
	r.Run(":8082")
}
